<template>
    <img v-for="(item, index) in data" :key="index" :src="item.src" class="w-full h-[100px] rounded cursor-pointer mb-6"
        @click="$commonOpen(item)" />
</template>

<script setup>
// 声明变量
const props = defineProps({
    data: {
        type: Array,
        required: true
    }
})

</script>